package com.crane.oss.enums;

/**
 * 用户状态：2正常，1锁定，0无效
 * @author lenovo
 *
 */
public enum UserStatusEnum {
    /**
     * 用户状态：2正常，1锁定，0无效
     * @author lenovo
     *
     */
    DISABLE(0, "无效"),
    LOCK(1, "锁定"),
    VALID(2, "有效");

    private int value;

    private String remark;

    private UserStatusEnum(int value, String remark) {
        this.value = value;
        this.setRemark(remark);
    }

    public int getValue() {
        return value;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
